/**
 * 
 */
package wpmp.utils.quickbean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Wayne.Wang<5waynewang@gmail.com>
 * @since 11:38:17 AM Dec 4, 2013
 */
public class NeedNotLoginPermission implements Serializable {

	private static final long serialVersionUID = 9152151256906833154L;

	private List<Entry> resources = new ArrayList<Entry>();

	private long createTime;

	public NeedNotLoginPermission() {
		this.createTime = System.currentTimeMillis();
	}

	public List<Entry> getResources() {
		return resources;
	}

	public void setResources(List<Entry> resources) {
		this.resources = resources;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	// 资源列表
	public static class Entry implements Serializable {

		private static final long serialVersionUID = 1L;

		private String baseUrl;
		private String operations;
		private String actionName;

		public String getActionName() {
			return actionName;
		}

		public void setActionName(String actionName) {
			this.actionName = actionName;
		}

		public String getBaseUrl() {
			return baseUrl;
		}

		public void setBaseUrl(String baseUrl) {
			this.baseUrl = baseUrl;
		}

		public String getOperations() {
			return operations;
		}

		public void setOperations(String operations) {
			this.operations = operations;
		}

	}
}
